-- GENERATED SPELL FOR [Shadethicket Bark Ripper] --


function spell0_3784(pUnit, Event) --@Tendon Rip,n/a--
pUnit:FullCastSpellOnTarget(3604,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3784', 8000, 1)
end

function Sorts_3784(pUnit, Event)
local choix_sorts_3784 = math.random(0, 0)
if choix_sorts_3784 == 0 then
pUnit:RegisterEvent('spell0_3784', 1, 1)
end
end

function mob3784_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3784', math.random(1500, 3000), 1)
end

function mob3784_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3784_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3784_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3784, 1, 'mob3784_Action')
RegisterUnitEvent(3784, 2, 'mob3784_Leave')
RegisterUnitEvent(3784, 3, 'mob3784_Kill')
RegisterUnitEvent(3784, 4, 'mob3784_Die')
